package com.ydgk.dao;

import com.ydgk.bean.Province;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ProvinceMapper {

    @Select("select * from province")
    List<Province> findAll();

    @Select("select * from province where pid = #{pid}")
    Province findById(int pid);
}
